/**
 * Created with hong.rong
 * Description:*
 * Date:2020/06/25
 */

import React from 'react'
import styles from './index.less'

const Field = ({ label, value, ...rest }) => (
  <div className={styles.field} {...rest}>
    <span className={styles.label}>{label}</span>
    <span className={styles.number}>{value}</span>
  </div>
)

export default Field
